FROM apache/skywalking-java-agent:8.13.0-java17
EXPOSE 8080
ENV TZ Asia/Shanghai
RUN rm /skywalking/agent/plugins/apm-springmvc-annotation-3*.*
RUN rm /skywalking/agent/plugins/apm-springmvc-annotation-4*.*
RUN rm /skywalking/agent/plugins/apm-springmvc-annotation-5*.*
RUN rm /skywalking/agent/plugins/apm-mysql-5*.*
RUN rm /skywalking/agent/plugins/apm-mysql-6*.*
COPY build/libs/*.jar /app.jar
ENTRYPOINT java ${JAVA_OPTS} -javaagent:/skywalking/agent/skywalking-agent.jar -jar /app.jar

